Explorar o código

Fehlerhaftes speichern von items im inventar behoben

Kolja Strohm %!s(int64=5) %!d(string=hai) anos
pai
achega
14890e7111
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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 )