Advertisement
Guest User

Untitled

a guest
Nov 16th, 2014
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 0.78 KB | None | 0 0
  1. diff --git a/src/client/ui/node/ui_node_abstractvalue.cpp b/src/client/ui/node/ui_node_abstractvalue.cpp
  2. index ec276d5..86d1aca 100644
  3. --- a/src/client/ui/node/ui_node_abstractvalue.cpp
  4. +++ b/src/client/ui/node/ui_node_abstractvalue.cpp
  5. @@ -306,7 +306,7 @@ void UI_AbstractValue_SetValueCvar (uiNode_t* node, const char* value) {
  6.            (either being float or cvar). We now want to replace this value reference by a new cvar. So we first
  7.            need to free the existing reference, then create new cvar reference (just a string starting with
  8.            '*cvar' and store it. */
  9. -       Mem_Free(*(void**)(EXTRADATA(node).value));
  10. +//     Mem_Free(*(void**)(EXTRADATA(node).value));
  11.         *(void**)EXTRADATA(node).value= Mem_StrDup(value);
  12.  
  13.         /* fire change event */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement