changeset 1366:8f339c3bbdaf

Player::CreateItemInInventory small bugfix from previous change
author Grumpy7
date Mon, 15 Jul 2013 02:37:03 +0200
parents b691c96d8e06
children 6b4a1c44a56f d1c8121cf0ad 2e5c994f0833
files Player.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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
   {