mirror of
https://github.com/rwengine/openrw.git
synced 2024-11-07 03:12:36 +01:00
display the proper UI icon texture for detonator
This commit is contained in:
parent
4121378729
commit
9fc38c5d51
@ -167,6 +167,8 @@ void drawPlayerInfo(PlayerController* player, GameWorld* world,
|
|||||||
// Urgh
|
// Urgh
|
||||||
if (itemTextureName == "colt45") {
|
if (itemTextureName == "colt45") {
|
||||||
itemTextureName = "pistol";
|
itemTextureName = "pistol";
|
||||||
|
} else if (itemTextureName == "bomb") {
|
||||||
|
itemTextureName = "detonator";
|
||||||
}
|
}
|
||||||
|
|
||||||
TextureData::Handle itemTexture =
|
TextureData::Handle itemTexture =
|
||||||
|
Loading…
Reference in New Issue
Block a user