summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: a5dfc18)
raw | patch | inline | side by side (parent: a5dfc18)
author | fgsfds <pvt.fgsfds@gmail.com> | |
Sat, 10 Apr 2021 18:56:05 +0000 (21:56 +0300) | ||
committer | fgsfds <pvt.fgsfds@gmail.com> | |
Sat, 10 Apr 2021 18:56:05 +0000 (21:56 +0300) |
src/game/g_items.pas | patch | blob | history |
diff --git a/src/game/g_items.pas b/src/game/g_items.pas
index 88a9cba1c433057f3ede53d4bf118ad43aecbc9c..7331242b7672c3675c54be4b14d630736dfbbd95 100644 (file)
--- a/src/game/g_items.pas
+++ b/src/game/g_items.pas
it.dropped := false;
g_Obj_Init(@it.Obj);
- it.Obj.oldX := X;
- it.Obj.oldY := Y;
it.Obj.X := X;
it.Obj.Y := Y;
it.Obj.Rect.Width := ITEMSIZE[ItemType][0];
end;
end;
+ it.Obj.oldX := it.Obj.X;
+ it.Obj.oldY := it.Obj.Y;
+
// Óñòàíîâêà àíèìàöèè
case it.ItemType of
ITEM_ARMOR_GREEN: if g_Frames_Get(ID, 'FRAMES_ITEM_ARMORGREEN') then it.Animation := TAnimation.Create(ID, True, 20);