equal
deleted
inserted
replaced
994 if length(trluaammod[Ammoz[atype].NameId]) > 0 then |
994 if length(trluaammod[Ammoz[atype].NameId]) > 0 then |
995 ammodesc := trluaammod[Ammoz[atype].NameId] |
995 ammodesc := trluaammod[Ammoz[atype].NameId] |
996 else |
996 else |
997 ammodesc := trammod[Ammoz[atype].NameId]; |
997 ammodesc := trammod[Ammoz[atype].NameId]; |
998 |
998 |
|
999 if length(trluaammoa[Ammoz[atype].NameId]) > 0 then |
|
1000 ammodesc := ammodesc + '|' + trluaammoa[Ammoz[atype].NameId]; |
|
1001 |
999 // render window and return the texture |
1002 // render window and return the texture |
1000 WeaponTooltipTex:= RenderHelpWindow(ammoname, ammocap, ammodesc, extra, extracolor, SpritesData[sprAMAmmos].Surface, @r) |
1003 WeaponTooltipTex:= RenderHelpWindow(ammoname, ammocap, ammodesc, extra, extracolor, SpritesData[sprAMAmmos].Surface, @r) |
1001 end; |
1004 end; |
1002 |
1005 |
1003 procedure ShowWeaponTooltip(x, y: LongInt); |
1006 procedure ShowWeaponTooltip(x, y: LongInt); |