diff Player.cpp @ 1366:8f339c3bbdaf

Player::CreateItemInInventory small bugfix from previous change
author Grumpy7
date Mon, 15 Jul 2013 02:37:03 +0200
parents b691c96d8e06
children 2e5c994f0833 5a5d0c713d47
line wrap: on
line diff
--- a/Player.cpp	Mon Jul 15 02:34:52 2013 +0200
+++ b/Player.cpp	Mon Jul 15 02:37:03 2013 +0200
@@ -870,7 +870,7 @@
   {
     if ( uActiveCharacter )
       pPlayers[uActiveCharacter]->PlaySound(SPEECH_NoRoom, 0);
-    result = -1;
+    return 0;
   }
   else
   {