Skip to content

Commit

Permalink
Cleanup use of ACE_HashLocation (#4975)
Browse files Browse the repository at this point in the history
  • Loading branch information
PabstMirror authored and BaerMitUmlaut committed Mar 8, 2017
1 parent e2c04a8 commit 0841c05
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion addons/common/CfgLocationTypes.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
class CfgLocationTypes {
class ACE_HashLocation {
color[] = {0,0,0,0};
drawStyle = "bananas";
drawStyle = "WARNING-ACE_HashLocation_is_deprecated"; // Replaced by CBA_fnc_createNamespace
font = "RobotoCondensed";
importance = 5;
name = "HashLocation";
Expand Down
3 changes: 1 addition & 2 deletions addons/tagging/XEH_postInit.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@


// Cache for static objects
GVAR(cacheStaticModels) = createLocation ["ACE_HashLocation", [-10000,-10000,-10000], 0, 0];
GVAR(cacheStaticModels) setText QGVAR(cacheStaticModels);
GVAR(cacheStaticModels) = [false] call CBA_fnc_createNamespace;

// Consider static everything vehicle that inherit from Static
// This include houses (which we don't need), but also walls, that we do
Expand Down

0 comments on commit 0841c05

Please sign in to comment.