Skip to content

Commit

Permalink
Small ammo box sprites, fix dog gun offset #712
Browse files Browse the repository at this point in the history
  • Loading branch information
cxong committed May 4, 2024
1 parent 0c8a17a commit 7715db1
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 8 deletions.
2 changes: 1 addition & 1 deletion data/.wolf3d/N3Ddata.cdogscpn/ammo.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"Name": "Feed",
"Pic": {
"Type": "Normal",
"Pic": "ammo_clip"
"Pic": "small_feed_box"
},
"Sound": "ammo_pickup",
"Amount": 5,
Expand Down
Binary file removed data/.wolf3d/N3Ddata.cdogscpn/graphics/ammo_clip.png
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions data/.wolf3d/N3Ddata.cdogscpn/pickups.json
Original file line number Diff line number Diff line change
Expand Up @@ -160,10 +160,10 @@
"Sound": "pickup_crown"
},
{
"Name": "ammo_clip",
"Name": "small_feed_box",
"Pic": {
"Type": "Normal",
"Pic": "ammo_clip"
"Pic": "small_feed_box"
},
"Effects": [{
"Type": "Ammo",
Expand Down
3 changes: 0 additions & 3 deletions graphics/chars/bodies/dog/data.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,6 @@
"Dir": {
"Head": [
[0, -3], [4, -3], [6, 0], [6, 4], [0, 6], [-6, 4], [-7, 0], [-5, -3]
],
"Gun": [
[7, -2], [6, 0], [4, 2], [-1, 4], [-6, 2], [-6, -1], [-3, -3], [0, -3]
]
}
}
Expand Down
3 changes: 1 addition & 2 deletions src/cdogs/map_wolf.c
Original file line number Diff line number Diff line change
Expand Up @@ -2164,9 +2164,8 @@ static void LoadEntity(
MissionStaticTryAddItem(&m->u.Static, StrMapObject("shadow"), v);
break;
case CWMAPTYPE_N3D:

MissionStaticTryAddPickup(
&m->u.Static, StrPickupClass("ammo_clip"), v);
&m->u.Static, StrPickupClass("small_feed_box"), v);
break;
default:
MissionStaticTryAddItem(&m->u.Static, StrMapObject("bed"), v);
Expand Down

0 comments on commit 7715db1

Please sign in to comment.