From 5ab3eafc4df19c87562cb6f47cac40c3f855f4e9 Mon Sep 17 00:00:00 2001
From: Allanis <allanis@saracraft.net>
Date: Tue, 18 Mar 2014 15:26:32 +0000
Subject: [PATCH] [Fix] Oops, let's not return if the player has just enough
 credits.

---
 src/land.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/land.c b/src/land.c
index 00b4e29..e6afc6c 100644
--- a/src/land.c
+++ b/src/land.c
@@ -196,11 +196,10 @@ static void commodity_buy(unsigned int wid, char* str) {
   int q;
 
   q = 10;
-
   comname = toolkit_getList(wid, "lstGoods");
   com = commodity_get(comname);
 
-  if(player->credits <= q * com->medium) {
+  if(player->credits < q * com->medium) {
     dialogue_alert("Not enough Scred!");
     return;
   }