Преглед на файлове

Fehlerhaftes speichern von items im inventar behoben

Kolja Strohm преди 5 години
родител
ревизия
14890e7111
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      StickmanWorldOnline/Gegenstand.cpp

+ 1 - 1
StickmanWorldOnline/Gegenstand.cpp

@@ -80,7 +80,7 @@ float abklingzeit( GegenstandTyp typ )
 
 bool storable( GegenstandTyp typ )
 {
-    return typ == RWEISHEIT || typ == RSTRENGTH || typ == RBOSHEIT || typ == RLEBEN || typ == RTEMPO;
+    return !(typ == RWEISHEIT || typ == RSTRENGTH || typ == RBOSHEIT || typ == RLEBEN || typ == RTEMPO);
 }
 
 bool brauchtRichtung( GegenstandTyp typ )